﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using Shut;

public partial class pages_browser : UiPage
{
    protected void Page_Load(object sender, EventArgs e)
    {
		string str = "";

		str =			"UserAgent = "		+ Request.UserAgent;
		str += "<br />IsMobileDevice = "	+ Request.Browser.IsMobileDevice;
		str += "<br />JavaScript Major = "	+ Request.Browser.JScriptVersion.Minor;
		str += "<br />Browser Version = "	+ Request.Browser.Version;
		str += "<br />Browser Version = "	+ Request.Browser.MajorVersion;
		str += "<br />Platform= "			+ Request.Browser.Platform;
		str += "<br />ScreenPxWidth = "		+ Request.Browser.ScreenPixelsWidth;
		str += "<br />ScreenPxHeight = "	+ Request.Browser.ScreenPixelsHeight;
		str += "<br />ScreenChWidth = "		+ Request.Browser.ScreenCharactersWidth;
		str += "<br />ScreenChHeight = "	+ Request.Browser.ScreenCharactersHeight;
		str += "<br />CSS support= "		+ Request.Browser.SupportsCss;
		str += "<br />Browser Type= "		+ Request.Browser.Type;
		str += "<br />ContentType= "		+ Request.ContentType;
		str += "<br />Referrer= "			+ Request.UrlReferrer;
		str += "<br />Host= "				+ Request.UserHostName;
		str += "<br />Languages= "			+ String.Join(", ",Request.UserLanguages);
		plOut.Text = str;
    }
}